package lab02.test12;

public class Test12 {
    public static void main(String[] args) {
        Circle c1=new Circle();
        c1.raduis=100;
        System.out.println("圆的面积:"+c1.area());
        System.out.println("圆的周长"+c1.perimeter());

        Rectangular d1=new Rectangular();
        d1.height=1000;
        d1.width=60;
        System.out.println("矩形面积:"+d1.area());
        System.out.println("矩形周长"+d1.perimeter());
    }
}
